#!/usr/bin/env bash

# api group

# api
curl -w "\nstatus code: %{http_code}\n"  --location --request POST 'http://juapi-ops-svc.basics-tenant-juapi:8080/apiops/api/routers' \
--header 'Content-Type: application/json' \
--data '{"desc":"","doc":"","enableMetric":false,"enableWebsocket":false,"group":"8ce97990f4ae479c92c0c0330008a352","icon":"","id":"a013bb7fc99b464db4d8e4902324a2a9","methods":"GET,POST,OPTIONS","name":"edwin_api-broker","namespace":"basics-tenant-juapi","owner":"","plugins":{"connectlife-validate":{"control_endpoint":"http://neo-api-control.smarthome-test-connectlife:10002/control/"},"proxy-rewrite":{"disable":true,"regex_uri":["^/(.*)/(.*)","/$1"]}},"productCode":"juMarket","remoteAddrs":"","status":1,"tag":"","timeout":5,"uris":"/br/*,/acc/*","username":"gorenje-dev"}'

# certs

# consumers

# streams
